namespace core {
	export class SpriteSheetRT extends egret.SpriteSheet {
		override createTexture(
			name: string,
			bitmapX: number,
			bitmapY: number,
			bitmapWidth: number,
			bitmapHeight: number,
		): egret.Texture {
			// 上下颠倒的贴图！
			bitmapY = this.$texture.textureHeight - bitmapY - bitmapHeight;
			return super.createTexture(
				name,
				bitmapX,
				bitmapY,
				bitmapWidth,
				bitmapHeight,
			);
		}
	}
}
